﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucHotelDetail.ascx.cs"
    Inherits="Indochinaodyssey.UserControl.Photo.ucHotelDetail" %>
<asp:ObjectDataSource ID="odsHotelDetail" runat="server" SelectMethod="Tour_getByID"
    TypeName="IOBusiness.ClassLinq.clsLqTours">
    <SelectParameters>
        <asp:QueryStringParameter Name="idTour" QueryStringField="hotelid" Type="Int32" />
    </SelectParameters>
</asp:ObjectDataSource>
<asp:DataList ID="DataList1" runat="server" DataSourceID="odsHotelDetail" Width="100%">
    <ItemTemplate>
        <table align="center" border="0" cellpadding="0" cellspacing="0" style="border-bottom: #1f9b23 2px solid;"
            width="95%">
            <tbody>
                <tr>
                    <td height="41">
                        <span class="title2">Hotel</span>
                    </td>
                </tr>
            </tbody>
        </table>
        <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
            <tbody>
                <tr>
                    <td height="40">
                        <asp:Label ID="lbTieuDe" runat="server" Text='<%# Eval("TieuDe") %>' CssClass="style3" />
                        <asp:HiddenField ID="hfHotelId" runat="server" Value='<%# Eval("ID") %>' />
                        <asp:HiddenField ID="hfIdTheLoai" runat="server" Value='<%# Eval("TheLoaiID") %>' />
                    </td>
                </tr>
            </tbody>
        </table>
        <asp:Label ID="Label1" runat="server" Text='<%# Eval("GhiChu") %>' CssClass="chu" />
        <center>
            <a class="title2" href='book-this-tour.aspx?page=hotel&tourid=<%#Eval("id")%>&amp;name=<%#Eval("TieuDe") %>'>
                Book now</a></center>
        <p align="right" style="border-top: #CCCCCC 1px dotted">
            <span class="smalltext">
                <br />
                <a class="xemtiep" href="javascript:history.go(-1);">
                    <img border="0" height="9" src="Style/Images/return-1.gif" width="11" />
                    Back</a>&nbsp;&nbsp;<a class="xemtiep" href="JavaScript:window.print()"><img border="0"
                        height="14" src="Style/Images/print-1.gif" width="16" />
                        Print </a>&nbsp;&nbsp;<a class="xemtiep" href="#"><img border="0" height="9" src="Style/Images/top-1.gif"
                            width="9" />
                            Up to Top</a> </span>
            <table align="left" border="0" cellpadding="0" cellspacing="0" width="100%" style="text-align: left;">
                <tbody>
                    <tr>
                        <td style="padding-bottom: 10px">
                            <span class="style3">Other hotel:</span><br>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:ObjectDataSource ID="odsOtherHotel" runat="server" SelectMethod="Tour_getOther"
                                TypeName="IOBusiness.ClassLinq.clsLqTours">
                                <SelectParameters>
                                    <asp:ControlParameter ControlID="hfIdTheLoai" Name="idTheLoai" PropertyName="Value"
                                        Type="Int32" />
                                    <asp:ControlParameter ControlID="hfHotelId" Name="idTour" PropertyName="Value" Type="Int32" />
                                </SelectParameters>
                            </asp:ObjectDataSource>
                            <asp:DataList ID="DataList2" runat="server" DataSourceID="odsOtherHotel">
                                <ItemTemplate>
                                    &nbsp;&nbsp;&nbsp;&nbsp;<img align="absmiddle" height="3" src="Style/Images/arrow.gif"
                                        width="3" />&nbsp;&nbsp; <a class="xemtiep2" href="hotel.aspx?hotelid=<%# Eval("ID") %>&catid=2">
                                            <%# Eval("TieuDe")%></a>
                                </ItemTemplate>
                            </asp:DataList>
                            </img>
                        </td>
                    </tr>
                </tbody>
            </table>
            &nbsp;</p>
    </ItemTemplate>
</asp:DataList>
